<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/util.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var getconstantsJsonListUrl = "/constants/getJsonList/";
$(document).ready(function() {
	startMasker();
	$.ajax({
		type: "GET",
		url: getconstantsJsonListUrl,
		data: "",
		dataType: "json",
		success: function(data) {
			if(data.code > 0) {
				var resultList = data.result;
				var renderHtml = "[<br/>";
				for(var i=0;i<resultList.length;i++) {
					var result = resultList[i];
					$("#constantsId").html(result.constantsId);
					$("#deployId").html(result.deployId);
					$("#energeBoostPeriod").html(result.energeBoostPeriod);					$("#energeBoostUnit").html(result.energeBoostUnit);					$("#practiceDuration1").html(result.practiceDuration1);					$("#practiceDuration2").html(result.practiceDuration2);					$("#practiceDuration3").html(result.practiceDuration3);					$("#practiceSpeedExtraExp").html(result.practiceSpeedExtraExp);					$("#practiceCostCoeff1").html(result.practiceCostCoeff1);					$("#practiceCostCoeff2").html(result.practiceCostCoeff2);					$("#practiceCostCoeff3").html(result.practiceCostCoeff3);					$("#practiceSpeedCost").html(result.practiceSpeedCost);					$("#practiceDirectlyFinishCost").html(result.practiceDirectlyFinishCost);					$("#practiceExpUnitCoeff1").html(result.practiceExpUnitCoeff1);					$("#practiceExpUnitCoeff2").html(result.practiceExpUnitCoeff2);					$("#practiceExpUnitCoeff3").html(result.practiceExpUnitCoeff3);					$("#practiceSpeedItemId").html(result.practiceSpeedItemId);					$("#versusItemId").html(result.versusItemId);					$("#versusLevelLimit").html(result.versusLevelLimit);										
					renderHtml = renderHtml + $("#tpl_constants").html();
					if(i < resultList.length - 1) {
						renderHtml = renderHtml + ","
					}
				}
				renderHtml = renderHtml + "]<br/>";
				$("#constants_info").html(renderHtml);
				stopMasker();
			}else {
				errDialog(data.message);
			}
		}
});
});

</script>
<body>
<div class="json" id="constants_info">

</div>
<div style="display:none" id="tpl_constants">
<div class="json">
{<br/>
<span class="jsonkey">constantsId:</span><span id="constantsId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">energeBoostPeriod:</span><span id="energeBoostPeriod" class="jsonvalue"></span>,<br/>
<span class="jsonkey">energeBoostUnit:</span><span id="energeBoostUnit" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceDuration1:</span><span id="practiceDuration1" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceDuration2:</span><span id="practiceDuration2" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceDuration3:</span><span id="practiceDuration3" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceSpeedExtraExp:</span><span id="practiceSpeedExtraExp" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceCostCoeff1:</span><span id="practiceCostCoeff1" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceCostCoeff2:</span><span id="practiceCostCoeff2" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceCostCoeff3:</span><span id="practiceCostCoeff3" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceSpeedCost:</span><span id="practiceSpeedCost" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceDirectlyFinishCost:</span><span id="practiceDirectlyFinishCost" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceExpUnitCoeff1:</span><span id="practiceExpUnitCoeff1" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceExpUnitCoeff2:</span><span id="practiceExpUnitCoeff2" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceExpUnitCoeff3:</span><span id="practiceExpUnitCoeff3" class="jsonvalue"></span>,<br/>
<span class="jsonkey">practiceSpeedItemId:</span><span id="practiceSpeedItemId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">versusItemId:</span><span id="versusItemId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">versusLevelLimit:</span><span id="versusLevelLimit" class="jsonvalue"></span><br/>
</br>
}
</div>
</div>
<div class="maskerContent" id="framemasker" name="framemasker">
	<iframe class="maskframe" src="/pages/core/Masker.html"></iframe>
</div>
</body>